/*测试底部导航栏用样式*/

.light-theme {
  .test-top {
    position: relative;
    height: 65px;
    background-color: #333;
  }

  /* 全局样式重置 */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .english-home {
    width: 100%;
    background-color: #666;
    /* 整体背景设为灰色，模拟原图 */
    font-family: sans-serif;
    color: #fff;
  }

  /* 顶部栏样式 */
  .top-header {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #666;
    padding: 10px 20px;
  }

  .switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
  }

  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border-radius: 34px;
  }

  .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border-radius: 50%;
  }

  input:checked+.slider {
    background-color: #292c30;
  }

  input:focus+.slider {
    box-shadow: 0 0 1px #454a4e;
  }

  input:checked+.slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
  }



  .abc-logo {
    display: flex;
    width: 100px;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    right: 30px;
    padding: 5px;

  }

  .abc-logo img {
    width: 25px;
    height: 25px;
    margin-left: 5px;
    margin-top: 3px;
  }

  .setting-btn {
    width: 20px;
    height: 20px;
    background: url('setting-icon.png') no-repeat center;
    /* 需替换为实际设置图标 */
    background-size: contain;
    border: none;
    cursor: pointer;
  }

  /* 标题及功能按钮区域样式 */
  .title-section {
    width: 100%;
    height: 680px;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    top: 120px;

  }

  .main-title {
    font-size: 56px;
    margin-bottom: 14px;
    font-family: "STHUPO";
    font-weight: 100;
  }

  .sub-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .function-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 100px;
  }

  .btn {
    width: 125px;
    height: 80px;
    margin: 10px;
    background-color: #999;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none
  }

  .btn img {
    width: 45%;
  }

  .function-btns-bottom {
    position: relative;
    right: 0;
    bottom: 0;
  }

  .function-btns-bottom img {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 0;
    bottom: -210px;
  }

  /* 热门词汇本区域样式 */
  .vocab-section {
    width: 100%;
    height: 760px;
    padding: 20px;
    background-color: #808080;
  }

  .hot-tag {
    background-color: #555;
    padding: 5px 10px;
    border: 3px solid rgb(180, 178, 178);
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 20px;
    font-family: "宋体";
    font-weight: 700;
    color: #cdc8c8;
  }

  .vocab-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 10px 10px;
    padding: 0 250px;
  }

  .in-card {
    width: 150px;
    height: 200px;
    border: 1px solid #666;
    background-color: #666;
    margin: 10px auto;
  }

  .in-card img {
    width: 72%;
    height: 70%;
    margin-top: 20px;
  }


  .in-card-1 {
    width: 150px;
    height: 200px;
    border: 1px solid #666;
    background-color: #666;
    margin: 10px auto;
  }

  .in-card-1 img {
    width: 55%;
    margin-top: 65px;
  }

  .card {
    background-color: #666;
    padding: 20px;
    margin: 8px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-family: "宋体";
    font-weight: 700;
  }

  .card-title {
    position: relative;
    top: -25px;

  }

  .chart img {
    width: 3.5px;
    height: 280px;
    position: absolute;
    left: -40px;
    top: -128px;

  }


  /* 自定义学习计划区域样式 */
  .plan-section {
    width: 100%;
    height: 760px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 40px 20px;
    background-color: #666;
    position: relative;
  }

  .chart {
    position: relative;
    width: 200px;
    height: 100px;
  }

  .chart-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: -180px;
    left: -100px;
  }


  .chart-line::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 12px solid #fff;
    left: 30px;
    bottom: 2px;
  }

  .chart-line::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 12px solid #fff;
    left: 80px;
    bottom: 20px;
  }


  .plan-desc {
    max-width: 600px;
  }

  .plan-title {
    font-size: 58px;
    margin-bottom: 10px;

  }

  .plan-subtitle {
    margin-bottom: 32px;
    font-size: 20px;
    text-align: center;
    margin-top: 15px;
    font-family: "楷体";
  }

  .plan-desc img {
    width: 60px;
    height: 60px;
    position: absolute;
    left: 18%;
    top: 21%;

  }

  .plan-btn {
    width: 100px;
    height: 68px;
    margin-top: 38px;
    background-color: #999;
    color: #fff;
    font-size: 38px;
    font-family: "Serif";
    font-weight: 700;
    border: 5px solid #cecdcd;
    text-align: center;
    border-radius: 28px;
    cursor: pointer;
    position: absolute;
    left: 40%;
    text-decoration: none
  }


  .plan-desc-btn {
    width: 300px;
    height: 200px;
    border: none;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
  }

  .plan-last {
    width: 100%;
    height: 50px;
    background-color: #292c30;
    position: absolute;
    bottom: 0;
    text-align: center;
    font-size: 14px;
    font-family: "宋体";
    font-weight: 700;
    padding: 20px 0;
  }
}